package org.example.rowing.vo;

import lombok.Data;
import org.example.rowing.domain.Event;
import org.example.rowing.domain.Team;
import org.example.rowing.enums.BoatTypeEnum;
import org.example.rowing.enums.MedalTypeEnum;

import java.math.BigDecimal;

@Data
public class EventResultVO {
    private Long id;
    private Event event;
    private Team team;
    private Integer goldMedal;
    private Integer silverMedal;
    private Integer bronzeMedal;
    private Integer totalMedal;
    private Integer totalScore;
    // 仅用作查询
    private Long eventId;

    public EventResultVO() {}

    public EventResultVO(Long id, Event event, Team team, Integer goldMedal, Integer silverMedal, Integer bronzeMedal, Integer totalMedal, Integer totalScore) {
        this.id = id;
        this.event = event;
        this.team = team;
        this.goldMedal = goldMedal;
        this.silverMedal = silverMedal;
        this.bronzeMedal = bronzeMedal;
        this.totalMedal = totalMedal;
        this.totalScore = totalScore;
    }
}
